﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response
{
    public class ResponseCommentsDto
    {
        public int id { get; set; }
        public int accountId { get; set; }
        public string accountName { get; set; }
        public string accountAvatar { get; set; }
        public int? goodId { get; set; }
        public int? mainCommentId { get; set; }
        public int? commentId { get; set; }
        public string? commentAccountName { get; set; }
        public int? rate { get; set; }
        public string content { get; set; }
        public DateTime createTime { get; set; }
        public string createTimeStr { get; set; }
        public List<ResponseCommentSourcesDto> sources { get; set; }
        public List<ResponseCommentsDto> replays { get; set; }
        public int replayTotal { get; set; }
    }
    public class ResponseCommentSourcesDto
    {
        public int id { get; set; }
        public string fileName { get; set; }
        public string extendName { get; set; }
        public string path { get; set; }
    }
}
